package cn.doitedu.rule.engine.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.kie.api.definition.rule.All;

import java.util.Map;

/**
 * @author 涛哥
 * @nick_name "deep as the sea"
 * @contact qq:657270652 wx:doit_edu
 * @site www.doitedu.cn
 * @date 2021-07-23
 * @desc 规则条件中的，表示一个事件条件的封装类
 */
@Data
@AllArgsConstructor
public class EventParam {

    private String eventId;
    private Map<String,String> eventProperties;
    private int countThreshHold;
    private long timeRangeStart;
    private long timeRangeEnd;

}
